home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2003 November / PCWK1103B.iso / CINEBENCH 2003 / resource / res / description / Mmaterial.h < prev    next >
C/C++ Source or Header  |  2003-02-27  |  6KB  |  171 lines

  1. #ifndef _MMATERIAL_H_
  2. #define _MMATERIAL_H_
  3.  
  4. enum
  5. {
  6.     ID_MATERIALGROUP_COLOR                     = 807,
  7.     ID_MATERIALGROUP_DIFFUSION            = 808,
  8.     ID_MATERIALGROUP_LUMINANCE            = 809,
  9.     ID_MATERIALGROUP_TRANSPARENCY        = 810,
  10.     ID_MATERIALGROUP_REFLECTION            = 811,
  11.     ID_MATERIALGROUP_ENVIRONMENT        = 812,
  12.     ID_MATERIALGROUP_FOG                        = 813,
  13.     ID_MATERIALGROUP_BUMP                      = 814,
  14.     ID_MATERIALGROUP_ALPHA                    = 815,
  15.     ID_MATERIALGROUP_SPECULAR                = 816,
  16.     ID_MATERIALGROUP_SPECULARCOLOR    = 817,
  17.     ID_MATERIALGROUP_GLOW                      = 818,
  18.     ID_MATERIALGROUP_DISPLACEMENT        = 819,
  19.     ID_MATERIALGROUP_ILLUMINATION        = 820,
  20.  
  21.     MATERIAL_USE_COLOR                                         = 2000,
  22.     MATERIAL_USE_DIFFUSION                                = 2001,
  23.     MATERIAL_USE_LUMINANCE                                = 2002,
  24.     MATERIAL_USE_TRANSPARENCY                            = 2003,
  25.     MATERIAL_USE_REFLECTION                                = 2004,
  26.     MATERIAL_USE_ENVIRONMENT                            = 2005,
  27.     MATERIAL_USE_FOG                                            = 2006,
  28.     MATERIAL_USE_BUMP                                            = 2007,
  29.     MATERIAL_USE_ALPHA                                        = 2008,
  30.     MATERIAL_USE_SPECULAR                                    = 2009,
  31.     MATERIAL_USE_SPECULARCOLOR                        = 2010,
  32.     MATERIAL_USE_GLOW                                            = 2011,
  33.     MATERIAL_USE_DISPLACEMENT                            = 2012,
  34.  
  35.     MATERIAL_COLOR_COLOR                                     = 2100,
  36.     MATERIAL_COLOR_BRIGHTNESS                         = 2101,
  37.     MATERIAL_COLOR_TEXTURESTRENGTH                = 2102,
  38.     MATERIAL_COLOR_TEXTUREMIXING                    = 2103,
  39.         MATERIAL_TEXTUREMIXING_NORMAL                        = 0,
  40.         MATERIAL_TEXTUREMIXING_ADD                            = 1,
  41.         MATERIAL_TEXTUREMIXING_SUBTRACT                    = 2,
  42.         MATERIAL_TEXTUREMIXING_MULTIPLY                    = 3,
  43.  
  44.     MATERIAL_DIFFUSION_BRIGHTNESS                 = 2200,
  45.     MATERIAL_DIFFUSION_TEXTURESTRENGTH        = 2201,
  46.     MATERIAL_DIFFUSION_TEXTUREMIXING            = 2202,
  47.     MATERIAL_DIFFUSION_AFFECT_LUMINANCE     = 1002,
  48.     MATERIAL_DIFFUSION_AFFECT_SPECULAR         = 1000,
  49.     MATERIAL_DIFFUSION_AFFECT_REFLECTION    = 1001,
  50.  
  51.     MATERIAL_LUMINANCE_COLOR                             = 2300,
  52.     MATERIAL_LUMINANCE_BRIGHTNESS                 = 2301,
  53.     MATERIAL_LUMINANCE_TEXTURESTRENGTH        = 2302,
  54.     MATERIAL_LUMINANCE_TEXTUREMIXING            = 2303,
  55.  
  56.     MATERIAL_TRANSPARENCY_COLOR                     = 2400,
  57.     MATERIAL_TRANSPARENCY_BRIGHTNESS             = 2401,
  58.     MATERIAL_TRANSPARENCY_TEXTURESTRENGTH    = 2402,
  59.     MATERIAL_TRANSPARENCY_TEXTUREMIXING        = 2403,
  60.     MATERIAL_TRANSPARENCY_REFRACTION             = 1005,
  61.     MATERIAL_TRANSPARENCY_FRESNEL                 = 1003,
  62.     MATERIAL_TRANSPARENCY_ADDITIVE                 = 1004,
  63.  
  64.     MATERIAL_TRANSPARENCY_DISPERSION             = 1120,
  65.     MATERIAL_TRANSPARENCY_MINSAMPLES             = 1122,
  66.     MATERIAL_TRANSPARENCY_MAXSAMPLES             = 1123,
  67.     MATERIAL_TRANSPARENCY_ACCURACY               = 1121,
  68.  
  69.     MATERIAL_REFLECTION_COLOR                         = 2500,
  70.     MATERIAL_REFLECTION_BRIGHTNESS                 = 2501,
  71.     MATERIAL_REFLECTION_TEXTURESTRENGTH        = 2502,
  72.     MATERIAL_REFLECTION_TEXTUREMIXING            = 2503,
  73.  
  74.     MATERIAL_REFLECTION_DISPERSION                 = 1130,
  75.     MATERIAL_REFLECTION_MINSAMPLES                 = 1132,
  76.     MATERIAL_REFLECTION_MAXSAMPLES                 = 1133,
  77.     MATERIAL_REFLECTION_ACCURACY                  = 1131,
  78.  
  79.     MATERIAL_ENVIRONMENT_COLOR                        = 2600,
  80.     MATERIAL_ENVIRONMENT_BRIGHTNESS                = 2601,
  81.     MATERIAL_ENVIRONMENT_TEXTURESTRENGTH    = 2602,
  82.     MATERIAL_ENVIRONMENT_TEXTUREMIXING        = 2603,
  83.     MATERIAL_ENVIRONMENT_TILESX                        = 1006,
  84.     MATERIAL_ENVIRONMENT_TILESY                        = 1007,
  85.     MATERIAL_ENVIRONMENT_EXCLUSIVE                = 1028,
  86.  
  87.     MATERIAL_FOG_COLOR                                        = 2700,
  88.     MATERIAL_FOG_BRIGHTNESS                                = 2701,
  89.     MATERIAL_FOG_DISTANCE                                    = 1008,
  90.  
  91.     MATERIAL_BUMP_STRENGTH                                = 1009,
  92.     MATERIAL_BUMP_MIPFALLOFF                            = 1010,
  93.  
  94.     MATERIAL_ALPHA_COLOR                                    = 2900,
  95.     MATERIAL_ALPHA_DELTA                                    = 1011,
  96.     MATERIAL_ALPHA_INVERT                                    = 1014,
  97.     MATERIAL_ALPHA_SOFT                                        = 1012,
  98.     MATERIAL_ALPHA_IMAGEALPHA                            = 1013,
  99.     MATERIAL_ALPHA_PREMULTIPLIED                    = 1027,
  100.  
  101.     MATERIAL_SPECULAR_MODE                                = 1018,
  102.         MATERIAL_SPECULAR_MODE_PLASTIC                = 0,
  103.         MATERIAL_SPECULAR_MODE_METAL                     = 1,
  104.         MATERIAL_SPECULAR_MODE_COLORED                = 2,
  105.     MATERIAL_SPECULAR_WIDTH                                = 1016,
  106.     MATERIAL_SPECULAR_HEIGHT                            = 1017,
  107.     MATERIAL_SPECULAR_FALLOFF                            = 1137,
  108.     MATERIAL_SPECULAR_INNERWIDTH                    = 1139,
  109.  
  110.     MATERIAL_SPECULAR_COLOR                                = 3100,
  111.     MATERIAL_SPECULAR_BRIGHTNESS                    = 3101,
  112.     MATERIAL_SPECULAR_TEXTURESTRENGTH            = 3102,
  113.     MATERIAL_SPECULAR_TEXTUREMIXING                = 3103,
  114.  
  115.     MATERIAL_GLOW_COLOR                                        = 3200,
  116.     MATERIAL_GLOW_BRIGHTNESS                            = 3201,
  117.     MATERIAL_GLOW_INNERSTRENGTH                        = 1019,
  118.     MATERIAL_GLOW_OUTERSTRENGTH                        = 1020,
  119.     MATERIAL_GLOW_RADIUS                                    = 1021,
  120.     MATERIAL_GLOW_RANDOM                                    = 1022,
  121.     MATERIAL_GLOW_FREQUENCY                                = 1023,
  122.     MATERIAL_GLOW_USEMATERIALCOLOR                = 1024,
  123.  
  124.     MATERIAL_DISPLACEMENT_STRENGTH                = 1025,
  125.     MATERIAL_DISPLACEMENT_HEIGHT                    = 1026,
  126.  
  127.     MATERIAL_ILLUMINATION_MODEL                        = 1134,
  128.         MATERIAL_ILLUMINATION_MODEL_PHONG            = 0,
  129.         MATERIAL_ILLUMINATION_MODEL_BLINN            = 1,
  130.         MATERIAL_ILLUMINATION_MODEL_ORENNAYAR    = 2,
  131.     MATERIAL_ILLUMINATION_DIFFUSEFALLOFF    = 1136,
  132.     MATERIAL_ILLUMINATION_DIFFUSELEVEL        = 1138,
  133.     MATERIAL_ILLUMINATION_ROUGHNESS                = 1135,
  134.  
  135.     MATERIAL_GLOBALILLUM_GENERATE                    = 1101,
  136.     MATERIAL_GLOBALILLUM_GENERATE_STRENGTH= 1112,
  137.     MATERIAL_GLOBALILLUM_RECEIVE                    = 1100,
  138.     MATERIAL_GLOBALILLUM_RECEIVE_STRENGTH    = 1102,
  139.     MATERIAL_GLOBALILLUM_SATURATION                = 1115,
  140.  
  141.     MATERIAL_CAUSTICS_GENERATE                        = 1109,
  142.     MATERIAL_CAUSTICS_GENERATE_STRENGTH        = 1113,
  143.     MATERIAL_CAUSTICS_RECEIVE                            = 1108,
  144.     MATERIAL_CAUSTICS_RECEIVE_STRENGTH        = 1114,
  145.     MATERIAL_CAUSTICS_SAMPLERADIUS                = 1110,
  146.     MATERIAL_CAUSTICS_SAMPLES                            = 1111,
  147.  
  148.     MATERIAL_PREVIEWSIZE                                    = 500,
  149.         MATERIAL_PREVIEWSIZE_DEF                            = 0,
  150.         MATERIAL_PREVIEWSIZE_64                                = 6,
  151.         MATERIAL_PREVIEWSIZE_128                            = 7,
  152.         MATERIAL_PREVIEWSIZE_256                            = 8,
  153.         MATERIAL_PREVIEWSIZE_512                            = 9,
  154.         MATERIAL_PREVIEWSIZE_1024                            = 10,
  155.         MATERIAL_PREVIEWSIZE_2048                            = 11,
  156.  
  157.     // virtual IDs
  158.     MATERIAL_COLOR_TEXGROUP                                = 8000,
  159.     MATERIAL_DIFFUSION_TEXGROUP                        = 8001,
  160.     MATERIAL_LUMINANCE_TEXGROUP                        = 8002,
  161.     MATERIAL_TRANSPARENCY_TEXGROUP                = 8003,
  162.     MATERIAL_REFLECTION_TEXGROUP                    = 8004,
  163.     MATERIAL_ENVIRONMENT_TEXGROUP                    = 8005,
  164.     MATERIAL_BUMP_TEXGROUP                                = 8006,
  165.     MATERIAL_ALPHA_TEXGROUP                                = 8007,
  166.     MATERIAL_SPECULAR_TEXGROUP                        = 8008,
  167.     MATERIAL_DISPLACEMENT_TEXGROUP                = 8009,
  168.     MATERIAL_SPECULARPREVIEW                            = 8010
  169. };
  170.  
  171. #endif